package com.lifa.service.impl;

import com.lifa.dao.HuiYuanChongZhiDao;
import com.lifa.entity.HuiyuanChongzhi;
import com.lifa.service.HuiYuanChongZhiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HuiYuanChongZhiServiceImpl implements  HuiYuanChongZhiService{

    @Autowired
    private HuiYuanChongZhiDao huiYuanChongZhiDao;

    @Override
    public List<HuiyuanChongzhi> chongzhichax1() {
        return huiYuanChongZhiDao.chongzhichax();
    }

    @Override
    public long chongzhizongtiaoshu1(String huiyuan_Name) {
        return huiYuanChongZhiDao.chongzhizongtiaoshu(huiyuan_Name);
    }

    @Override
    public List<HuiyuanChongzhi> chongzhifneye1(String huiyuan_Name, int offset, int limit) {
        return huiYuanChongZhiDao.chongzhifenye(huiyuan_Name,offset,limit);
    }
}
